package com.crazybytex.fragment.fastjson.beans;
/**
 * 响应实体
 * @author 程序员潇然 https://crazybytex.com/
 */
public class ResponseBean<RS> {
    private Integer code;
    private String msg;
    private RS data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public RS getData() {
        return data;
    }

    public void setData(RS data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "ResponseBean{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }
}
